home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Tool Chest / Development Tools & Languages / • Other Platforms / PCCTS 1.31 / antlr / makefile.mpw < prev    next >
Encoding:
Makefile  |  1995-03-10  |  1.7 KB  |  93 lines  |  [TEXT/MPS ]

  1. #//////////////////////////////////////////////////////////////////////////
  2. #//
  3. #// FILE NAME
  4. #//    antlr.make
  5. #//
  6. #// AUTHOR
  7. #//    Scott Haney
  8. #//
  9. #// CREATED
  10. #//    May 30, 1994
  11. #//
  12. #// DESCRIPTION
  13. #//    Controls Macintosh builds of ANTLR.
  14. #//
  15. #//////////////////////////////////////////////////////////////////////////
  16.  
  17. ObjDir = :Macintosh:
  18. SetDir = ::support:set
  19.  
  20. COptions = -mc68020 -model far -warnings off -d MPW -d __STDC__=1 -d USER_ZZSYN ∂
  21.   -i {SetDir} -i ::h
  22. LinkOptions = -d -c 'MPS ' -t MPST -mf -model far
  23.  
  24. Objects = ∂
  25.     {ObjDir}antlr.c.o ∂
  26.     {ObjDir}bits.c.o ∂
  27.     {ObjDir}build.c.o ∂
  28.     {ObjDir}err.c.o ∂
  29.     {ObjDir}fset.c.o ∂
  30.     {ObjDir}fset2.c.o ∂
  31.     {ObjDir}gen.c.o ∂
  32.     {ObjDir}globals.c.o ∂
  33.     {ObjDir}hash.c.o ∂
  34.     {ObjDir}lex.c.o ∂
  35.     {ObjDir}misc.c.o ∂
  36.     {ObjDir}pred.c.o ∂
  37.     {ObjDir}scan.c.o ∂
  38.     {SetDir}{ObjDir}set.c.o ∂
  39.     {ObjDir}main.c.o ∂
  40.     "{Libraries}"Runtime.o ∂
  41.     "{CLibraries}"StdCLib.o ∂
  42.     "{Libraries}"Stubs.o ∂
  43.     "{Libraries}"Interface.o ∂
  44.     "{Libraries}"ToolLibs.o ∂
  45.  
  46. {ObjDir}antlr.c.o ƒ antlr.c
  47.  
  48. {ObjDir}bits.c.o ƒ bits.c
  49.  
  50. {ObjDir}build.c.o ƒ build.c
  51.  
  52. {ObjDir}err.c.o ƒ err.c
  53.  
  54. {ObjDir}fset.c.o ƒ fset.c
  55.  
  56. {ObjDir}fset2.c.o ƒ fset2.c
  57.  
  58. {ObjDir}gen.c.o ƒ gen.c
  59.  
  60. {ObjDir}globals.c.o ƒ globals.c
  61.  
  62. {ObjDir}hash.c.o ƒ hash.c
  63.  
  64. {ObjDir}lex.c.o ƒ lex.c
  65.  
  66. {ObjDir}main.c.o ƒ main.c
  67.  
  68. {ObjDir}misc.c.o ƒ misc.c
  69.  
  70. {ObjDir}pred.c.o ƒ pred.c
  71.  
  72. {ObjDir}scan.c.o ƒ scan.c
  73.  
  74. {SetDir}{ObjDir}set.c.o ƒ {SetDir}:set.c
  75.  
  76. SetDir}{ObjDir} ƒ {SetDir}:
  77. {ObjDir} ƒ :
  78. {ObjDir} ƒ {ObjDir}
  79.  
  80. antlr ƒƒ {Objects}
  81.        Link {LinkOptions} -o antlr {Objects}
  82.  
  83. antlr ƒƒ antlr.r
  84.     Rez antlr.r -o antlr -a
  85.     
  86. Bootstrap ƒ antlr.g
  87.     antlr -gh antlr.g
  88.     dlg -C2 parser.dlg scan.c
  89.  
  90. Install  ƒ antlr
  91.     Duplicate antlr "{MPW}"Tools:antlr
  92.     
  93.